﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERPSystem.Common.DTO.ShippingnoteDTO
{
    public class OrderdetailsDTO
    {
        /// <summary>
        /// 主键序号111
        /// </summary>
        public int SalesOrderId { get; set; }
        /// <summary>
        /// 单据编码
        /// </summary>
        public string DocumentNumber { get; set; }
        /// <summary>
        /// 单据日期11111
        /// </summary>
        public string DocumentDate { get; set; }
        /// <summary>
        /// 单据状态
        /// </summary>
        public string DocumentStatus { get; set; }
        /// <summary>
        /// 单据类型
        /// </summary>
        public string DocumentType { get; set; }
        /// <summary>
        /// 业务类型
        /// </summary>
        public string BusinessType { get; set; }
        /// <summary>
        /// 业务状态
        /// </summary>
        public string BusinessStatus { get; set; }
        /// <summary>
        /// 销售人员
        /// </summary>
        public string SalesStaff { get; set; }
        /// <summary>
        /// 操作表（操作员）
        /// </summary>
        public string OperatorName { get; set; }
        /// <summary>
        /// 销售类型
        /// </summary>
        public string SalesType { get; set; }
        /// <summary>
        /// 客户名称（外键）
        /// </summary>
        public string CustomerProfileName { get; set; }
        /// <summary>
        /// 交付日期
        /// </summary>
        public string DeliverDate { get; set; }
        /// <summary>
        /// 交付状态
        /// </summary>
        public int DeliveryStatus { get; set; }
        /// <summary>
        /// 收货人
        /// </summary>
        public string Consignee { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// 目的国家
        /// </summary>
        public string DestinationCountry { get; set; }
        /// <summary>
        /// 销售订单物料编码（外键）
        /// </summary>
        public string ItemBianma { get; set; }

        public int jianshu { get; set; }
        public int shuliang  { get; set; }


        ////////////////////////////////////////////////////////////////////////////////////
        ///public int SalesOrderMaterialId { get; set; }
        /// <summary>/////
        /// 物料编码(外键 与物料表关联)
        /// </summary>
        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialName { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string TypeSpecification { get; set; }
        /// <summary>
        /// 颜色
        /// </summary>
        public string Color { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int Quantity { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal UnitPrice { get; set; }
        /// <summary>
        /// 金额
        /// </summary>
        public decimal Amount { get; set; }
        /// <summary>
        /// 件数
        /// </summary>
        public int Numberofpackages { get; set; }
        /// <summary>
        /// 样式
        /// </summary>
        public string Pattern { get; set; }
        /// <summary>
        /// 质量要求
        /// </summary>
        public string Quality { get; set; }
        /// <summary>
        /// 包装要求
        /// </summary>
        public string Packing { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 总数量
        /// </summary>
        public int SumQuantity { get; set; }

        /// <summary>
        /// 总件数
        /// </summary>
        public int SumNumberofpackages { get; set; }







    }

}
